/*
============================================================================
 Name        : $(Basename)ServerSession.h
 Author      : $(Author)
 Version     :
 Copyright   : $(Copyright)
 Description : Client's interface to the server's services.
============================================================================
*/

#ifndef __$(BASENAME)SERVERSESSION_H__
#define __$(BASENAME)SERVERSESSION_H__

#include <e32base.h>

// Number of message slots to reserve for this client server session.
// In this example we can have one asynchronous request outstanding
// and one synchronous request in progress.
const TUint KDefaultMessageSlots = 2;

#ifdef __WINS__
static const TUint KServerMinHeapSize = 0x01000;  //  4K
static const TUint KServerMaxHeapSize = 0x10000;  // 64K
#endif // __WINS__

class R$(Basename)ServerSession : public RSessionBase
	{

	public:

		IMPORT_C R$(Basename)ServerSession();

	public: // New functions

		IMPORT_C TInt Connect();
		IMPORT_C TVersion Version() const;
		IMPORT_C void RequestTime(TTime& aTime, TRequestStatus& aStatus);
		IMPORT_C void CancelRequestTime() const;

	private: // Data

		TPtr8 iExampleTimeBuffer;

	};
#endif // __$(BASENAME)SERVERSESSION_H__
